﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using OOS.Core.User;

namespace OOS.Application.User.Services.Interfaces
{
    /// <summary>
    /// 用户个人信息管理
    /// </summary>
    public interface IUserInfoService
    {
        /// <summary>
        /// 添加用户个人信息
        /// </summary>
        /// <param name="userInfo"></param>
        /// <returns></returns>
        Boolean InsertUserInfo(UserInfo userInfo);
        /// <summary>
        /// 根据用户id获取用户个人信息
        /// </summary>
        /// <returns></returns>
        UserInfo SelectUserInfoByUserId();
        /// <summary>
        /// 根据id修改用户个人信息
        /// </summary>
        /// <param name="userInfo"></param>
        /// <returns></returns>
        Boolean UpdateUserInfoById(UserInfo userInfo);
    }
}
